<%--
  Created by IntelliJ IDEA.
  User: lutao
  Date: 2017/7/11
  Time: 17:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>
    <%@ include file="/common/include-core.jsp" %>
    <%@ include file="/common/jspTemplate.jsp" %>
    <title>卡券使用范围编辑</title>
</head>
<body>
<article class="page-container">
    <form action="" class="form form-horizontal" id="form-certificateBatch-modify">
        <input id="usableTid" name="tid" value="${certificateUsableRange.tid}" type="hidden">
        <input id="certificateTypeId" name="certificateTypeId" value="${certificateUsableRange.certificateTypeId}"
               type="hidden">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>卡劵使用范围：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="hidden" value="${certificateUsableRange.productEntityId}" id="productEntityId" name="productEntityId" >
                <input type="hidden" value="${certificateUsableRange.userId}" id="userId" name="userId" >
                <input type="text" class="input-text" placeholder="关联产品" value="${certificateUsableRange.productEntityName}"
                       id="productEntityName" onclick="showGetProductEntity();" readonly>
                <input type="text" class="input-text" placeholder="机构" value="${certificateUsableRange.nickName}"
                       id="sellerName" onclick="showGetSeller();" readonly>
            </div>

        </div>

        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>状态：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <span class="select-box">
                    <select class="region select radius input-text" name="status">
                        <option value="1" ${certificateUsableRange.status==1?"selected":"" }>有效</option>
                        <option value="0" ${certificateUsableRange.status==0?"selected":"" }>无效</option>
                    </select>
				</span>
            </div>
        </div>

        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="button" id="certificateBatchSubmit"
                       value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
    </form>
</article>


<script type="text/javascript" src="/static/js/certificate/getcertificateUsableRange.js"></script>
<!--/请在上方写此页面业务相关的脚本-->
<script type="text/javascript" src="/static/js/product/publicBox.js"></script>
</body>
</html>
